/*
 * @Description:
 * @Author: Dxcr
 * @Date: 2023-08-08 08:53:36
 * @LastEditTime: 2025-03-07 09:19:26
 * @LastEditors: Dxcr
 */
import './assets/style/global.scss';

import { createApp } from 'vue';
import { createPinia } from 'pinia';

import App from './App.vue';
import router from './router';
import './permission'; // permission control

import ECharts from './utils/vue-echarts';

import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import 'element-plus/theme-chalk/dark/css-vars.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn' 
const app = createApp(App);

app.component('v-chart', ECharts);
app.use(createPinia());
app.use(router);
app.use(ElementPlus, { locale: zhCn })
app.mount('#app');
